<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        body{
            background: ghostwhite;
        }
        #box{
            width: 850px;
            margin: 0 auto;
        }
        .left,.right{
            width: 400px;
            float: left;
            overflow: hidden;
            margin-right: 20px;
            cursor: pointer;
        }
        .left img{
            width: 100%;
            margin-bottom: 10px;
        }
        .right img{
            width: 100%;
            margin-bottom: 10px;
        }
        .left_a,.right_a{
            position: relative;
        }
        .show{
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 100px;
            z-index: 2;
            background: white;
            opacity: 0;
            font-size: 20px;
            color: blue;
            padding-left: 30px;
            font-weight: 900;
            line-height: 100px;
            transition: all .5s
        }
        .show span:nth-child(2){
            font-weight: 400;
            color: red;
        }
        .show:hover{
            opacity: .5;
        }
        .myOline{
            width: 818px;
            height: 70px;
            font-size: 35px;
            color: red;
            margin-bottom: 30px;
            border-bottom: 3px solid #DEDEDE;
            text-align: center;
            line-height: 70px;
        }
    </style>
</head>
<body>
<div id="box">
    <div class="myOline">
        我的菜谱
    </div>
    <div class="left">
        <div class="left_a">
            <img src="images/汉堡套装.jpeg" alt="">
            <div class="show">
                <span>美味汉堡</span>
                <span>（￥20.00）</span>
            </div>
        </div>
        <div class="left_a">
            <img src="images/双心鸡蛋套餐.jpg" alt="">
            <div class="show">
                <span>双心鸡蛋套餐</span>
                <span>（￥18.00）</span>
            </div>
        </div>
        <div class="left_a">
            <img src="images/无敌披萨.jpg" alt="">
            <div class="show">
                <span>无敌披萨</span>
                <span>（￥32.00）</span>
            </div>
        </div>
        <div class="left_a">
            <img src="images/牛肉面包.jpg" alt="">
            <div class="show">
                <span>牛肉面包</span>
                <span>（￥30.00）</span>
            </div>
        </div>
        <div class="left_a">
            <img src="images/香辣鸡块.jpg" alt="">
            <div class="show">
                <span>香辣鸡块</span>
                <span>（￥35.00）</span>
            </div>
        </div>

    </div>
    <div class="right">
        <div class="right_a">
            <img src="images/香嫩牛肉.jpg" alt="">
            <div class="show">
                <span>香嫩牛肉</span>
                <span>（￥25.00）</span>
            </div>
        </div>
        <div class="left_a">
            <img src="images/冰上霜巧克力.jpeg" alt="">
            <div class="show">
                <span>冰上霜巧克力</span>
                <span>（￥15.00）</span>
            </div>
        </div>
        <div class="left_a">
            <img src="images/营养早餐.jpg" alt="">
            <div class="show">
                <span>营养早餐</span>
                <span>（￥16.00）</span>
            </div>
        </div>
        <div class="left_a">
            <img src="images/香油鸡翅.jpg" alt="">
            <div class="show">
                <span>香油鸡翅</span>
                <span>（￥17.00）</span>
            </div>
        </div>
        <div class="left_a">
            <img src="images/美味圆心披萨.jpg" alt="">
            <div class="show">
                <span>美味圆心披萨</span>
                <span>（￥25.00）</span>
            </div>
        </div>


    </div>
</div>
</body>
<script>

</script>
</html>